From 39e07a8d5640f76f418c3e77d87543c019313e31 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 12 Jan 2021 12:28:18 +0000 Subject: [PATCH] Document limits of gtk_aspect_frame_get_ratio() The GtkAspectFrame:ratio getter will return the value set, not the actual ratio computed in case GtkAspectFrame:obey-child is TRUE. --- gtk/gtkaspectframe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c index 23d1ea8692..24938519fd 100644 --- a/gtk/gtkaspectframe.c +++ b/gtk/gtkaspectframe.c @@ -458,7 +458,8 @@ gtk_aspect_frame_set_ratio (GtkAspectFrame *self, * gtk_aspect_frame_get_ratio: * @self: a #GtkAspectFrame * - * Returns the desired aspect ratio of the child. + * Returns the desired aspect ratio of the child set using + * gtk_aspect_frame_set_ratio(). * * Returns: the desired aspect ratio */ -- 2.30.2